package net.csdn.business.common.domain.query;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.csdn.business.common.domain.SuperPageQueryDTO;

import javax.validation.constraints.NotBlank;

/**
 * @ClassName WebhookConfigQuery
 * @Description webhook配置信息对象Query
 * @Author zhangyl
 * @Date 2023/4/23 16:22
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WebhookConfigQuery extends SuperPageQueryDTO
{

    /** objectId */
    private String objectId;

    /** 组织或项目的ID */
    @NotBlank(message = "fromId不能为空")
    private String fromId;

    /**主体类型：1：组织 2：项目*/
    private Integer type;

}
